# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from promotion.views import PromotedList, PromotionsList, PromotionDetail, PromotedDetail

urlpatterns = patterns('',
    url(r'^promoted/$', PromotedList.as_view(), name="promoted_list"),
    url(r'^promoted/(?P<pk>\d+)/$', PromotedDetail.as_view(), name="promoted_detail"),
    url(r'^$', PromotionsList.as_view(), name="promotions_list"),
    url(r'^(?P<pk>\d+)/$', PromotionDetail.as_view(), name="promotion_detail"),
)
  